package com.example.computer_exam_training_sys.vo;

public class PracticeStatisticsVO {

    private int practiceCount;    // 练习次数
    private double accuracy;      // 正确率，范围 0.0 ~ 1.0

    public PracticeStatisticsVO() {
    }

    public PracticeStatisticsVO(int practiceCount, double accuracy) {
        this.practiceCount = practiceCount;
        this.accuracy = accuracy;
    }

    public int getPracticeCount() {
        return practiceCount;
    }

    public void setPracticeCount(int practiceCount) {
        this.practiceCount = practiceCount;
    }

    public double getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(double accuracy) {
        this.accuracy = accuracy;
    }

    @Override
    public String toString() {
        return "PracticeStatisticsVO{" +
                "practiceCount=" + practiceCount +
                ", accuracy=" + accuracy +
                '}';
    }
}
